/*
package com.wang.rabbitmq.springboot;

import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

*/
/**
 * @author: wang
 * @date: 2021/8/3 20:17
 * @description:
 *//*

@Component
public class DirectSent {

    @Resource
    private AmqpTemplate template;

    public void sentDirect(){
        template.convertAndSend("directExchange","direct","直连数据");
    }

}
*/
